package com.ketai.dao;

import com.ketai.pojo.CUser;
import com.ketai.pojo.Consul;

import javax.naming.NamingException;
import java.sql.SQLException;
import java.util.List;

/**
 * @Author:胡远博
 * @Description:
 * @Date:Create In 2022-08-11 11:23
 **/
public interface ConsulDao {
    List<Consul> findAll(String sql, Object[] params) throws SQLException, NamingException;

    long getTotalCUserCount(String sql, Object[] params) throws SQLException, NamingException;

    int deleteById(String id) throws SQLException, NamingException;
}
